package com.dujiu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dujiu.pojo.dto.LoginFormDTO;
import com.dujiu.pojo.entity.User;
import com.dujiu.result.Result;

public interface IUserService extends IService<User> {

    // 发送手机验证码
    Result sendCode(String phone);

    // 用户登录
    Result login(LoginFormDTO loginFormDTO);
}
